package com.roadjava.rbac.service;

import com.roadjava.rbac.bean.entity.BannerRes;
import com.roadjava.rbac.bean.req.resource.AddBannerResParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface BannerResService {
    String addRes(AddBannerResParam param);

    String uploadFile(MultipartFile file) throws IOException;

    List<BannerRes> getAllFiles();

    String deleteFile(Integer id);

    List<BannerRes> getImgByType(Integer type);


}
